STEP 12: Let's make the sprite finish the joke when we click on it!

  • Go to and drag Sprite Click to the bottom of your program.
  • Change the text in the .say() command to "Comet books!"

Remember that they text in .say() should be green and have quotes around it.

To navigate the page using the TAB key, first press ESC to exit the code editor.

stage.set_background("moon") sprite = codesters.Sprite("astronaut1") sprite.go_to(-125, -150) glorp = codesters.Sprite("alien1") glorp.go_to(100, -125) rock = codesters.Sprite("asteroid") rock.go_to(100, 75) sprite.say("What do planets read?")
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)